Re-enable libostree/test-concurrency.py.test, but mark it as flaky
authorSimon McVittie <smcv@debian.org>
Sat, 26 Jan 2019 20:52:02 +0000 (20:52 +0000)
committerSimon McVittie <smcv@debian.org>
Sat, 26 Jan 2019 20:52:02 +0000 (20:52 +0000)
See #901170.

debian/tests/control
debian/tests/flaky [new file with mode: 0644]

index 0494c239690cbacc8fd3f4f4295f248d63146db6..28691e703163a2d5db4bef9c31e90a53c025777f 100644 (file)
@@ -1,3 +1,7 @@
+Tests: flaky
+Restrictions: flaky
+Depends: gnome-desktop-testing, ostree-tests
+
 Tests: gnome-desktop-testing
 Depends: gnome-desktop-testing, ostree-tests
 
diff --git a/debian/tests/flaky b/debian/tests/flaky
new file mode 100644 (file)
index 0000000..09e64cc
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+exec 2>&1
+
+# Ubuntu provides internet access via a proxy, but libostree doesn't need
+# that. However, libostree also doesn't support no_proxy, so it will try
+# to use Ubuntu's proxy for localhost, and fail to reach itself.
+unset ftp_proxy
+unset http_proxy
+unset https_proxy
+unset no_proxy
+
+exec gnome-desktop-testing-runner libostree/test-concurrency.py.test